<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title>werlite-管理端</title>
    <script>

      //解决浏览器刷新token无效，直接禁止刷新
      function KeyDown(){
        if (event.keyCode==116){ //屏蔽 F5 刷新键
            event.keyCode=0;
            event.returnValue=false;
        }
        if ((event.ctrlKey)&&(event.keyCode==82)){ //屏蔽 Ctrl+R
            event.returnValue=false;
        }
        if ((event.shiftKey)&&(event.keyCode==121)){ //屏蔽 shift+F10
            event.returnValue=false;
        }
      }
      // 定时清除token
      (function clearToken() {
          setInterval(() => {
              localStorage.removeItem('token')
          },1000*60*60*2)
      })()
    </script>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but new doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
